<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>GetGadgetText</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">GetGadgetText()</font></b></p>
<p><b>Syntax</b></p><blockquote>

String$ = <font color="#006666"><b>GetGadgetText</b></font>(#Gadget)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Returns the gadget text content of the specified gadget. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Gadget</i></td>
<td width="90%"> 
 
The gadget to use. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



Returns the gadget text, or an empty string if the gadget does not support text content. 

 

</blockquote><p><b>Remarks</b></p><blockquote>



This function is especially useful for: 
<br>
<br>
- <a href="buttongadget.html">ButtonGadget()</a>: return the text of the ButtonGadget. 
<br>
- <a href="comboboxgadget.html">ComboBoxGadget()</a> - return the content of the current item. 
<br>
- <a href="dategadget.html">DateGadget()</a> - return the currently displayed date, in the form it is displayed in the gadget. 
<br>
- <a href="editorgadget.html">EditorGadget()</a> - return the text content of the editor gadget. Please note, that several 
lines of text are normally separated with "Chr(13)+Chr(10)". 
<br>
- <a href="explorercombogadget.html">ExplorerComboGadget()</a> - return the currently selected and displayed directory. 
<br>
- <a href="explorerlistgadget.html">ExplorerListGadget()</a> - return the currently displayed directory. 
<br>
- <a href="explorertreegadget.html">ExplorerTreeGadget()</a> - return the full path of the currently selected file/directory. 
<br>
- <a href="hyperlinkgadget.html">HyperLinkGadget()</a> - return the text of the HyperLinkGadget. 
<br>
- <a href="listicongadget.html">ListIconGadget()</a> - return the content of first column of the currently selected item. 
<br>
- <a href="listviewgadget.html">ListViewGadget()</a> - return the content of the current item. 
<br>
- <a href="stringgadget.html">StringGadget()</a> - return contents of the StringGadget. 
<br>
- <a href="textgadget.html">TextGadget()</a> - return contents of the TextGadget. 
<br>
- <a href="treegadget.html">TreeGadget()</a> - return the text of the currently selected Item in the TreeGadget. 
<br>
- <a href="webgadget.html">WebGadget()</a> - return the URL of the displayed website. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="setgadgettext.html">SetGadgetText()</a>, <a href="getgadgetitemtext.html">GetGadgetItemText()</a>, <a href="setgadgetitemtext.html">SetGadgetItemText()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=getgadgetstate.html>GetGadgetState()</a> - <a href=index.html>Gadget Index</a> - <a href=hidegadget.html>HideGadget()</a> -&gt;



</body></html>